package rs.dalao.syc.index.service;/*
 *   @author:Casin
 *   @date:2023/8/4
 *   @code:
 */

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class IEncContentService {
    @Autowired
    IEncyclopediaService service;
    @Test
    void selectByDepId(){
        Long id=2L;
        System.out.println(service.selectByDepId(id));
    }

    @Test
    void selectDep(){
        System.out.println(service.selectDep());
    }

    @Test
    void getOtherDocByDep(){
        Long id=1L;
        System.out.println(service.getOtherDocByDep(id));
    }

    @Test
    void selectByIdForDetail(){
        Long id=1L;
        System.out.println(service.selectByIdForDetail(id));
    }
}
